JavaScript

A5.ButtonsetDisplay Method

Syntax

A5.Button.setDisplay(display[,buttons])

Arguments

displayboolean

The display state of the button(s).

buttonsstringelementarray

The specific BUTTON elements to show/hide. If none are passed in then all buttons bound to the A5.Button control will be shown/hidden.

Description

Show/hide some or all of the BUTTON elements bound to the A5.Button control.

Example

// assume "saveButton" is an A5.Button and "bEle" is a BUTTON element bound to "saveButton"
saveButton.setDisplay(false);
// all buttons bound to "saveButton" are hidden
saveButton.setDisabled(true,bEle);
// all buttons bound to "saveButton" except the BUTTON element "bEle" are hidden